#!/bin/bash
# background loop

for i in 1 2 3 4 5
do
    echo -n "$i "
done &

echo

for i in 11 12 13 14 15
do
    echo -n "$i "
    sleep 1 #for fun
done

echo

exit 0
